package com.wu.weiyang.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * className: WebSocketConfiguration <br/>
 * author: 50816 <br/>
 * date: 2019/8/19 20:13 <br/>
 * describe: websocket配置类
 */
@Configuration
public class WebSocketConfiguration {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
